
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>礼物管理信息</title>
	
    <script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.all.min.js"> </script>
    <script type="text/javascript" charset="utf-8" src="../ueditor/lang/zh-cn/zh-cn.js" ></script>
	<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.config.js"></script>
    <style type="text/css">
        #ueditors{
            width:100%;
        }
        #checks{
            width:100%;
        }
        #checks input{
            width:90%;
        }
    </style>
</head>
<body>
	<div class="modal fade" id="gityDetails" tabindex="-1" role="dialog"
		aria-labelledby="gityDetailsLabel" aria-hidden="true">
		<div class="modal-dialog" style="width: 95%; z-index: 200;">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">礼品信息</h4>
				</div>
				<div class="modal-body">
					<!---***中部***-->
					<div align="left">
						<!--中上部-->
						<div align="center">
							<table width="99%">
								<tr>
									<td style="border-style: none; border-width: medium">
										<form id="giftType" method="post" name="giftType" class="jqtransform">
											<div align="left">
												<!--中上部-->
												<div align="center">

													<table class="table table-bordered" id="checks">
														<tr>
															<td style="text-align: right; width: 8%;">编号</td>
															<td width="25%">
																<input type="hidden" id="gityId" name="id" value="${updateGITY.id }" />
																<input type="text" id="typeCode" name="typeCode" value="${updateGITY.typeCode }" 
																	class="inputxt Validform_error" datatype="*" errormsg="请填写信息！" nullmsg="请填写信息！"/>
															</td>
															<td width="15%">
								                            	<div class="Validform_checktip">请输入编号</div>
								                           </td>
															
															<td style="text-align: right;width: 8%;">名称</td>
															<td width="25%">
																<input type="text" id="typeName" name="typeName" value="${updateGITY.typeName }" 
																	class="inputxt Validform_error" datatype="*" errormsg="请填写信息！" nullmsg="请填写信息！" /></td>
															<td width="15%">
								                            	<div class="Validform_checktip">请输入名称</div>
								                           </td>
														</tr>
														<!-- 父级 -->
														<tr>
															<td style="text-align: right;">团购</td>
															<td>
																<select id="parentId" required name="parentId">
																		<option value="-1" selected="selected">全部</option>
																		<c:forEach var="tyPar" items="${typeParList}">
																			<option
																				<c:if test="${tyPar.id==updateGITY.parentId}">selected</c:if>
																				value="${tyPar.id}">${tyPar.typeName}</option>
																		</c:forEach>
																</select> 
															</td>
														</tr>
														
														<tr>
															<td style="text-align: right;">说明</td>
															<td colspan="3">
																<textarea rows="3" cols="50" id="description" name="description" >${updateGITY.description }</textarea>
															</td>
														</tr>
														<tr>
															<td style="text-align: right;">备注</td>
															<td colspan="3">
																<textarea rows="3" cols="50" id="note" name="note" >${updateGITY.note }</textarea>
															</td>
														</tr>
														
													</table>
												</div>
												<div id="optBtn" class="modal-footer">
													<button id="saveBtn" type="submit" class="btn btn-primary btn82 btn_save2">保存</button>
													<button type="button" class="btn btn-default"
														data-dismiss="modal">关闭</button>
												</div>
											</div>
										</form>
									</td>
								</tr>
							</table>
						</div>
					</div>
					<!--**中中部**-->
					<div></div>
					<!----------------------********中部结束********---------------------------->
				</div>
				<div class="modal-footer"></div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>

</body>
</html>


